package main

import (
	es "git.inke.cn/BackendPlatform/golang/elastic"
	"github.com/elastic/go-elasticsearch"
)

func main() {
	c, _ := es.NewClient(elasticsearch.Config{
		Addresses:             nil,
		Username:              "",
		Password:              "",
		CloudID:               "",
		APIKey:                "",
		Header:                nil,
		CACert:                nil,
		RetryOnStatus:         nil,
		DisableRetry:          false,
		EnableRetryOnTimeout:  false,
		MaxRetries:            0,
		DiscoverNodesOnStart:  false,
		DiscoverNodesInterval: 0,
		EnableMetrics:         false,
		EnableDebugLogger:     false,
		RetryBackoff:          nil,
		Transport:             nil,
		Logger:                nil,
		Selector:              nil,
		ConnectionPoolFunc:    nil,
	}, es.Config{
		LoggerConfig:    es.LoggerConfig{},
		ServerName:      "",
		EndPoints:       "",
		Proto:           "",
		VersionTag:      "",
		MaxIdleConns:    0,
		IdleConnTimeout: 0,
		Username:        "",
		Password:        "",
	})
}
